package com.cnpinxi.dao;

import com.cnpinxi.domain.Activity;

import java.util.List;
import java.util.Map;

public interface ActivityMapper {


    int insertActivity(Activity orderSource);

    Activity selectByPrimaryKey(Integer tid);

    public List<Activity> getActivityList(Map<String, String> map);
    public Activity getActivity(Map<String, String> map);
    int updateActivityByPrimaryKeySelective(Activity record);

    public Activity getActivityById(Long tid);
    int updateActivityById(Activity record);
    int insertActivityProductEntityRelation(Map<String, String> map);
    int isExist(Map<String, String> map);
}